package com.example.func.enums;

/**
 * 模块类型枚举
 */
public enum ModuleType {
    DEFAULT("default", "默认模块"),
    LOGIN("login", "登录"),
    LOGOUT("logout", "登出"),
    STRATEGY_MANAGEMENT("strategy_management", "策略管理"),
    PROCESS_MANAGEMENT("process_management", "流程管理"),
    PERMISSION_MANAGEMENT("permission_management", "权限管理");

    private final String code;
    private final String description;

    ModuleType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
